//
//  Test35.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/27.
//

#include "Test35.hpp"
#include <iostream>
using namespace std;
class Complex {
public:
    Complex(float r=0,float i=0) {
        real = r;
        imag = i;
    }
    void print() {
        cout<<'('<<real<<','<<imag<<')'<<endl;
    }
private:
    float real,imag;
};

void test35() {
    Complex a(2.2f,4.4f);
    a.print();
//    cout<<float(a)*0.5<<endl;
}
